package com.aggregate.pay.swiftpass.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * 【威富通】申请退款API-响应参数
 * @author Moyq5
 * @date 2019年12月20日
 */
@JacksonXmlRootElement(localName = "xml")
public class RefundResult extends AbstractResult {

	@JacksonXmlProperty(localName = "result_code")
	private Integer resultCode;
	@JacksonXmlProperty(localName = "mch_id")
	private String mchId;
	@JacksonXmlProperty(localName = "device_info")
	private String deviceInfo;
	@JacksonXmlProperty(localName = "nonce_str")
	private String nonceStr;
	@JacksonXmlProperty(localName = "err_code")
	private String errCode;
	@JacksonXmlProperty(localName = "err_msg")
	private String errMsg;
	@JacksonXmlProperty(localName = "sign")
	private String sign;
	
	@JacksonXmlProperty(localName = "trade_state")
	private String tradeState;
	@JacksonXmlProperty(localName = "trade_state_desc")
	private String tradeStateDesc;
	
	@JacksonXmlProperty(localName = "transaction_id")
	private String transactionId;
	@JacksonXmlProperty(localName = "out_trade_no")
	private String outTradeNo;
	@JacksonXmlProperty(localName = "out_transaction_id")
	private String outTransactionId;
	@JacksonXmlProperty(localName = "out_refund_no")
	private String outRefundNo;
	@JacksonXmlProperty(localName = "refund_id")
	private String refundId;
	@JacksonXmlProperty(localName = "refund_channel")
	private String refundChannel;
	@JacksonXmlProperty(localName = "refund_fee")
	private Integer refundFee;
	@JacksonXmlProperty(localName = "coupon_refund_fee")
	private Integer couponRefundFee;
	@JacksonXmlProperty(localName = "trade_type")
	private String tradeType;
	public Integer getResultCode() {
		return resultCode;
	}
	public void setResultCode(Integer resultCode) {
		this.resultCode = resultCode;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getErrCode() {
		return errCode;
	}
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	public String getErrMsg() {
		return errMsg;
	}
	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getTradeState() {
		return tradeState;
	}
	public void setTradeState(String tradeState) {
		this.tradeState = tradeState;
	}
	public String getTradeStateDesc() {
		return tradeStateDesc;
	}
	public void setTradeStateDesc(String tradeStateDesc) {
		this.tradeStateDesc = tradeStateDesc;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	public String getOutTransactionId() {
		return outTransactionId;
	}
	public void setOutTransactionId(String outTransactionId) {
		this.outTransactionId = outTransactionId;
	}
	public String getOutRefundNo() {
		return outRefundNo;
	}
	public void setOutRefundNo(String outRefundNo) {
		this.outRefundNo = outRefundNo;
	}
	public String getRefundId() {
		return refundId;
	}
	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}
	public String getRefundChannel() {
		return refundChannel;
	}
	public void setRefundChannel(String refundChannel) {
		this.refundChannel = refundChannel;
	}
	public Integer getRefundFee() {
		return refundFee;
	}
	public void setRefundFee(Integer refundFee) {
		this.refundFee = refundFee;
	}
	public Integer getCouponRefundFee() {
		return couponRefundFee;
	}
	public void setCouponRefundFee(Integer couponRefundFee) {
		this.couponRefundFee = couponRefundFee;
	}
	public String getTradeType() {
		return tradeType;
	}
	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	
}
